[INFO] cloning repository https://github.com/misty1999/simple_mod_int
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/misty1999/simple_mod_int" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisty1999%2Fsimple_mod_int", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisty1999%2Fsimple_mod_int'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5c88f9bf4417455542a140ba44f6c0392898141b
[INFO] testing misty1999/simple_mod_int against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisty1999%2Fsimple_mod_int" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/misty1999/simple_mod_int
[INFO] finished tweaking git repo https://github.com/misty1999/simple_mod_int
[INFO] tweaked toml for git repo https://github.com/misty1999/simple_mod_int written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/misty1999/simple_mod_int on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/misty1999/simple_mod_int already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d22fbcb4ccf69e5e9f5f86da28ea74210b5e8a28c06c456e6d6354a8fad8a482
[INFO] running `Command { std: "docker" "start" "-a" "d22fbcb4ccf69e5e9f5f86da28ea74210b5e8a28c06c456e6d6354a8fad8a482", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d22fbcb4ccf69e5e9f5f86da28ea74210b5e8a28c06c456e6d6354a8fad8a482", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d22fbcb4ccf69e5e9f5f86da28ea74210b5e8a28c06c456e6d6354a8fad8a482", kill_on_drop: false }`
[INFO] [stdout] d22fbcb4ccf69e5e9f5f86da28ea74210b5e8a28c06c456e6d6354a8fad8a482
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 004b6f39aa320ce3f43dd19626e4fc7591d7f6c4a3abedcc19ced952b7e38e55
[INFO] running `Command { std: "docker" "start" "-a" "004b6f39aa320ce3f43dd19626e4fc7591d7f6c4a3abedcc19ced952b7e38e55", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling simple_mod_int v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.07s
[INFO] running `Command { std: "docker" "inspect" "004b6f39aa320ce3f43dd19626e4fc7591d7f6c4a3abedcc19ced952b7e38e55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "004b6f39aa320ce3f43dd19626e4fc7591d7f6c4a3abedcc19ced952b7e38e55", kill_on_drop: false }`
[INFO] [stdout] 004b6f39aa320ce3f43dd19626e4fc7591d7f6c4a3abedcc19ced952b7e38e55
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0aa080c535f1a98e5b5c3090f8fb3c3300fd707847a9e4ac958ace233c132fe8
[INFO] running `Command { std: "docker" "start" "-a" "0aa080c535f1a98e5b5c3090f8fb3c3300fd707847a9e4ac958ace233c132fe8", kill_on_drop: false }`
[INFO] [stderr]    Compiling simple_mod_int v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] running `Command { std: "docker" "inspect" "0aa080c535f1a98e5b5c3090f8fb3c3300fd707847a9e4ac958ace233c132fe8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0aa080c535f1a98e5b5c3090f8fb3c3300fd707847a9e4ac958ace233c132fe8", kill_on_drop: false }`
[INFO] [stdout] 0aa080c535f1a98e5b5c3090f8fb3c3300fd707847a9e4ac958ace233c132fe8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 83e7902da42a1901fb72317a38f19419e72f6db04c3f2ffe8870f9f2fa51f8be
[INFO] running `Command { std: "docker" "start" "-a" "83e7902da42a1901fb72317a38f19419e72f6db04c3f2ffe8870f9f2fa51f8be", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simple_mod_int-cc4224bcf04f8e11)
[INFO] [stdout] 
[INFO] [stdout] running 21 tests
[INFO] [stdout] test test::test_div_assign_u32::test_div_assign_u32 ... ok
[INFO] [stdout] test test::test_add::test_mod_add ... ok
[INFO] [stdout] test test::test_div::test_mod_div ... ok
[INFO] [stdout] test test::test_inv::test_mod_inv ... ok
[INFO] [stdout] test test::test_inv::test_mod_inv2 ... ok
[INFO] [stdout] test test::test_mul::test_mod_mul ... ok
[INFO] [stdout] test test::test_mul_assign_u32::test_mul_assign_u32 ... ok
[INFO] [stdout] test test::test_neg::test_mod_neg ... ok
[INFO] [stdout] test test::test_pow::test_mod_pow ... ok
[INFO] [stdout] test test::test_simplified_notation::test_add_simplified_notation ... ok
[INFO] [stdout] test test::test_simplified_notation::test_mul_simplified_notation ... ok
[INFO] [stdout] test test::test_sub_assign_u32::test_sub_assign_u32 ... ok
[INFO] [stdout] test test::test_u32::test_add_u32 ... ok
[INFO] [stdout] test test::test_u32::test_mul_u32 ... ok
[INFO] [stdout] test test::test_simplified_notation::test_div_simplified_notation ... ok
[INFO] [stdout] test test::test_sub::test_mod_sub ... ok
[INFO] [stdout] test test::test_simplified_notation::test_sub_simplified_notation ... ok
[INFO] [stdout] test test::test_u32::test_sub_u32 ... ok
[INFO] [stdout] test test::test_u32::test_big_number ... ok
[INFO] [stdout] test test::test_add_assign_u32::test_add_assign_u32 ... ok
[INFO] [stderr]    Doc-tests simple_mod_int
[INFO] [stdout] test test::test_inv::test_mod_inv_not_coprime - should panic ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 21 tests
[INFO] [stdout] test src/lib.rs - Mod<M> (line 181) ... FAILED
[INFO] [stdout] test src/lib.rs - Mod<M> (line 120) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 106) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 137) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 221) ... FAILED
[INFO] [stdout] test src/lib.rs - Mod<M> (line 265) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 241) ... FAILED
[INFO] [stdout] test src/lib.rs - Mod<M> (line 151) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 201) ... FAILED
[INFO] [stdout] test src/lib.rs - Mod<M> (line 167) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 299) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 316) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 414) ... FAILED
[INFO] [stdout] test src/lib.rs - Mod<M> (line 40) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 59) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 282) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M>::pow (line 338) ... FAILED
[INFO] [stdout] test src/lib.rs - Mod<M>::inv (line 380) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 90) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 428) ... ok
[INFO] [stdout] test src/lib.rs - Mod<M> (line 76) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - Mod<M> (line 181) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:185:18
[INFO] [stdout]     |
[INFO] [stdout] 185 | let b: Mod<17> = 20;
[INFO] [stdout]     |        -------   ^^ expected `Mod<17>`, found integer
[INFO] [stdout]     |        |
[INFO] [stdout]     |        expected due to this
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Mod<17>`
[INFO] [stdout]                  found type `{integer}`
[INFO] [stdout] help: try wrapping the expression in `simple_mod_int::Mod`
[INFO] [stdout]     |
[INFO] [stdout] 185 | let b: Mod<17> = simple_mod_int::Mod { value: 20 };
[INFO] [stdout]     |                  ++++++++++++++++++++++++++++    +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Mod<M> (line 221) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:225:18
[INFO] [stdout]     |
[INFO] [stdout] 225 | let b: Mod<17> = 20;
[INFO] [stdout]     |        -------   ^^ expected `Mod<17>`, found integer
[INFO] [stdout]     |        |
[INFO] [stdout]     |        expected due to this
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Mod<17>`
[INFO] [stdout]                  found type `{integer}`
[INFO] [stdout] help: try wrapping the expression in `simple_mod_int::Mod`
[INFO] [stdout]     |
[INFO] [stdout] 225 | let b: Mod<17> = simple_mod_int::Mod { value: 20 };
[INFO] [stdout]     |                  ++++++++++++++++++++++++++++    +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Mod<M> (line 241) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:245:18
[INFO] [stdout]     |
[INFO] [stdout] 245 | let b: Mod<17> = 20;
[INFO] [stdout]     |        -------   ^^ expected `Mod<17>`, found integer
[INFO] [stdout]     |        |
[INFO] [stdout]     |        expected due to this
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Mod<17>`
[INFO] [stdout]                  found type `{integer}`
[INFO] [stdout] help: try wrapping the expression in `simple_mod_int::Mod`
[INFO] [stdout]     |
[INFO] [stdout] 245 | let b: Mod<17> = simple_mod_int::Mod { value: 20 };
[INFO] [stdout]     |                  ++++++++++++++++++++++++++++    +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Mod<M> (line 201) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:205:18
[INFO] [stdout]     |
[INFO] [stdout] 205 | let b: Mod<17> = 20;
[INFO] [stdout]     |        -------   ^^ expected `Mod<17>`, found integer
[INFO] [stdout]     |        |
[INFO] [stdout]     |        expected due to this
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Mod<17>`
[INFO] [stdout]                  found type `{integer}`
[INFO] [stdout] help: try wrapping the expression in `simple_mod_int::Mod`
[INFO] [stdout]     |
[INFO] [stdout] 205 | let b: Mod<17> = simple_mod_int::Mod { value: 20 };
[INFO] [stdout]     |                  ++++++++++++++++++++++++++++    +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Mod<M> (line 414) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:419:1
[INFO] [stdout]     |
[INFO] [stdout] 415 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_414_0() {
[INFO] [stdout]     |                                                                         - help: try adding a return type: `-> bool`
[INFO] [stdout] ...
[INFO] [stdout] 419 | a==b
[INFO] [stdout]     | ^^^^ expected `()`, found `bool`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Mod<M>::pow (line 338) stdout ----
[INFO] [stdout] error[E0277]: the trait bound `Mod<17>: num_traits::cast::AsPrimitive<i64>` is not satisfied
[INFO] [stdout]    --> src/lib.rs:343:15
[INFO] [stdout]     |
[INFO] [stdout] 343 | let c = a.pow(b);
[INFO] [stdout]     |           --- ^ the trait `num_traits::cast::AsPrimitive<i64>` is not implemented for `Mod<17>`
[INFO] [stdout]     |           |
[INFO] [stdout]     |           required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `Mod::<M>::pow`
[INFO] [stdout]    --> src/lib.rs:353:12
[INFO] [stdout]     |
[INFO] [stdout] 351 |     pub fn pow<T>(self, other: T) -> Self 
[INFO] [stdout]     |            --- required by a bound in this associated function
[INFO] [stdout] 352 |     where
[INFO] [stdout] 353 |         T: AsPrimitive<i64> + Copy
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ required by this bound in `Mod::<M>::pow`
[INFO] [stdout] help: consider dereferencing here
[INFO] [stdout]     |
[INFO] [stdout] 343 | let c = a.pow(*b);
[INFO] [stdout]     |               +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - Mod<M> (line 181)
[INFO] [stdout]     src/lib.rs - Mod<M> (line 201)
[INFO] [stdout]     src/lib.rs - Mod<M> (line 221)
[INFO] [stdout]     src/lib.rs - Mod<M> (line 241)
[INFO] [stdout]     src/lib.rs - Mod<M> (line 414)
[INFO] [stdout]     src/lib.rs - Mod<M>::pow (line 338)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 15 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.57s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "83e7902da42a1901fb72317a38f19419e72f6db04c3f2ffe8870f9f2fa51f8be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83e7902da42a1901fb72317a38f19419e72f6db04c3f2ffe8870f9f2fa51f8be", kill_on_drop: false }`
[INFO] [stdout] 83e7902da42a1901fb72317a38f19419e72f6db04c3f2ffe8870f9f2fa51f8be
